<?php require_once($_SERVER['DOCUMENT_ROOT']."/defaultconf.mex");
if(!isset($_GET['nb_cliente'])) {
	echo 'Indique um cadastro de cliente';
	die();
} else {
	MYTCONN();
	$GET=$GLOBALS['MYT']->db_array("SELECT CliNombre FROM clientes WHERE CliNumero = {$_GET['nb_cliente']}");
}
?>
<div id="bgnd" style="margin: 4px">
<p></p>
<div id="board" style="height: 362px; overflow: auto">
<form name="quiz_form" id="quiz_form" method="post"><input type="hidden"
	name="conhecemoney" id="radio" value="1" /> <input type="hidden"
	name="enviadinheiro" id="radio" value="1" /> <input name="nome"
	value="<?php echo $GET[1]['CliNombre'];?>" type="hidden" class="field"
	id="nome" /> <input name="ncliente"
	value="<?php echo $_GET['nb_cliente'];?>" type="hidden" class="field"
	id="ncliente" />
<fieldset style="padding: 5px"><legend>Questionário</legend>
<table width="718" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td height="25" valign="middle"><strong>Assiste alguma TV brasileira?</strong></td>
		<td height="25" valign="middle"><input type="radio" name="assistetv"
			id="tv" value="1" /> Sim <input name="assistetv" type="radio" id="tv"
			value="0" /> Não

	</tr>
	<tr>
		<td height="25" valign="middle"><strong>Qual</strong></td>
		<td height="25" valign="middle"><?php mn_field('hselect','ED','qualtv','',"Globo;Record#Globo;Record",'','',''); ?></td>
	</tr>



	<tr>
		<td height="25" valign="middle"><strong>Ouve alguma rádio brasileira?:</strong></td>
		<td height="25" valign="middle"><input type="radio" name="ouveradio"
			id="radio" value="1" /> Sim <input name="ouveradio" type="radio"
			id="radio" value="0" /> Não

	</tr>

	<tr>
		<td height="25" valign="middle"><strong>Qual</strong></td>
		<td height="25" valign="middle"><?php mn_field('hselect','ED','qualradio','',"Tropical;Record#Tropical;Record",'','',''); ?></td>
	</tr>
	<tr>
		<td height="25" valign="middle"><strong>Como conheceu a <?php echo Empresa::getNome();?></strong></td>
		<td height="25" valign="middle"><?php mn_field('hselect','ED','comoconheceu','',"Tv;Radio;Publicidade;Amigo;Placard;Comercial;Outro#Tv;Radio;Publicidade;Amigo;Placard;Comercial;Outro",'','',''); ?></td>
	</tr>

	<tr>
		<td height="25" valign="middle"><strong>Quanto tempo pretende
		permanecer em Portugal?</strong></td>
		<td height="25" valign="middle"><?php mn_field('hselect','ED','quantotempo','',"< 1 Ano; 1 Ano; 2 Anos; 3 Anos; 5 Anos; 10 Anos; Indeterminado#0;1;2;3;5;10;100",'','',''); ?></td>
	</tr>

	<tr>
		<td height="25" colspan="2" valign="middle"><strong>Compraria algum
		bem de consumo em Portugal, para ser entregue no Brasil?</strong></td>
	</tr>
	<tr>
		<td height="25" valign="middle"></td>
		<td height="25" valign="middle"><input type="radio"
			name="comprariaproduto" id="radio" value="1" />
		Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
			name="comprariaproduto" id="radio" value="0" /> &nbsp;Não
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

	</tr>

	<tr>
		<td height="25" valign="middle"><strong>Qual:</strong></td>
		<td height="25" valign="middle"><!--DWLayoutEmptyCell-->&nbsp;</td>
	</tr>


	<tr>
		<td height="20" valign="middle">
		<blockquote>
		<p><strong>Armário</strong></p>
		</blockquote>
		</td>
		<td height="20" valign="middle"><span class="content-font"> <label> <input
			type="radio" name="armario" id="A" value="1" /> </label>
		Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
			name="armario" id="A1" value="0" />
		Não&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></td>
	</tr>


	<tr>
		<td height="20" valign="middle">
		<blockquote>
		<p><strong>Cama</strong></p>
		</blockquote>
		</td>
		<td height="20" valign="middle"><label> <input type="radio"
			name="cama" id="B" value="1" /> </label>
		Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
			name="cama" id="B1" value="0" />
		Não&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

	</tr>


	<tr>
		<td height="20" valign="middle">
		<blockquote>
		<p><strong>Fogão</strong></p>
		</blockquote>
		</td>
		<td height="20" valign="middle"><span class="content-font"> <label> <input
			type="radio" name="fogao" id="C" value="1" /> </label>
		Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
			name="fogao" id="C1" value="0" /> Não </span></td>
	</tr>

	<tr>
		<td height="20" valign="middle">
		<blockquote>
		<p><strong>Micro-Ondas</strong></p>
		</blockquote>
		</td>
		<td height="20" valign="middle"><span class="content-font"> <label> <input
			type="radio" name="micro" id="D" value="1" /> </label>
		Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
			name="micro" id="D1" value="0" /> Não </span></td>
	</tr>

	<tr>
		<td height="20" valign="middle">
		<blockquote>
		<p><strong>Geladeira</strong></p>
		</blockquote>
		</td>
		<td height="20" valign="middle"><span class="content-font"> <label> <input
			type="radio" name="geladeira" id="E" value="1" /> </label>
		Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
			name="geladeira" id="E1" value="0" /> Não </span></td>
	</tr>

	<tr>
		<td height="20" valign="middle">
		<blockquote>
		<p><strong>Guarda Roupa</strong></p>
		</blockquote>
		</td>
		<td height="20" valign="middle"><span class="content-font"> <label> <input
			type="radio" name="guardaroupa" id="F" value="1" /> </label>
		Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
			name="guardaroupa" id="F1" value="0" /> Não </span></td>
	</tr>

	<tr>
		<td height="20" valign="middle">
		<blockquote>
		<p><strong>LCD</strong></p>
		</blockquote>
		</td>
		<td height="20" valign="middle"><span class="content-font"> <label> <input
			type="radio" name="lcd" id="G" value="1" /> </label>
		Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
			name="lcd" id="G1" value="0" /> Não </span></td>
	</tr>

	<tr>
		<td height="20" valign="middle">
		<blockquote>
		<p><strong>Máquina Lavar</strong></p>
		</blockquote>
		</td>
		<td height="20" valign="middle"><span class="content-font"> <label> <input
			type="radio" name="maquinalavar" id="H" value="1" /> </label>
		Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
			name="maquinalavar" id="H1" value="0" /> Não </span></td>
	</tr>

	<tr>
		<td height="20" valign="middle">
		<blockquote>
		<p><strong>Sofá</strong></p>
		</blockquote>
		</td>
		<td height="20" valign="middle"><span class="content-font"> <label> <input
			type="radio" name="sofa" id="I" value="1" /> </label>
		Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
			name="sofa" id="I1" value="0" /> Não </span></td>
	</tr>


	<td height="25" colspan="2" valign="middle"><strong>Que outro bem voce
	compraria estando em Portugal?</strong></td>
	</tr>

	<tr>

		<tr>

			<td height="20" valign="middle">
			<blockquote>
			<p><strong>Capitalização</strong></p>
			</blockquote>
			</td>
			<td height="20" valign="middle"><label> <input type="radio"
				name="capitalizacao" id="J" value="1" /> </label>
			Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
				name="capitalizacao" id="J1" value="0" />
			Não&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

		</tr>


		<tr>
			<td height="20" valign="middle">
			<blockquote>
			<p><strong>ConsÓrcio</strong></p>
			</blockquote>
			</td>
			<td height="20" valign="middle"><span class="content-font"> <label> <input
				type="radio" name="consorcio" id="K" value="1" /> </label>
			Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
				name="consorcio" id="K1" value="0" /> Não </span></td>
		</tr>

		<tr>
			<td height="20" valign="middle">
			<blockquote>
			<p><strong>Imóveis</strong></p>
			</blockquote>
			</td>
			<td height="20" valign="middle"><span class="content-font"> <label> <input
				type="radio" name="imoveis" id="L" value="1" /> </label>
			Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
				name="imoveis" id="L1" value="0" /> Não </span></td>
		</tr>

		<tr>
			<td height="20" valign="middle">
			<blockquote>
			<p><strong>Previdência Privada</strong></p>
			</blockquote>
			</td>
			<td height="20" valign="middle"><span class="content-font"> <label> <input
				type="radio" name="previdencia" id="M" value="1" /> </label>
			Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
				name="previdencia" id="M1" value="0" /> Não </span></td>
		</tr>

		<tr>
			<td height="20" valign="middle">
			<blockquote>
			<p><strong>Seguro</strong></p>
			</blockquote>
			</td>
			<td height="20" valign="middle"><span class="content-font"> <label> <input
				type="radio" name="seguro" id="N" value="1" /> </label>
			Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
				name="seguro" id="N1" value="0" /> Não </span></td>
		</tr>

		<tr>
			<td height="20" valign="middle">
			<blockquote>
			<p><strong>Veiculos</strong></p>
			</blockquote>
			</td>
			<td height="20" valign="middle"><span class="content-font"> <label> <input
				type="radio" name="veiculos" id="O" value="1" /> </label>
			Sim&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="radio"
				name="veiculos" id="O1" value="0" /> Não </span></td>
		</tr>

</table>
</fieldset>
<div class="button">
<p><input type="button" style="margin: 10px; height: 20px; width: 100px"
	value="Enviar"
	onclick="document.quiz_form.action='_response/rsproxy.php?pr=ext_result';
			subform('quiz_form','bgnd');" /></p>


</div>
</form>
</div>
</div>
</div>
